<?php
namespace app\daynote\controller;

use think\Controller;
use think\facade\Hook;
use app\common\controller\Common;
use app\common\controller\CustomOutput;

class Base extends Controller
{
    protected $commonCtl;
    protected $coutHandler;
    
    public function __construct() {
        parent::__construct();
        $this->commonCtl = new Common();
        $this->coutHandler = new CustomOutput();

        // 钩子判断是否登录
        Hook::exec('app\\common\\behavior\\CheckLogin');
    }
    
}